package ffmvc.model;

import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.jdbc.core.RowMapper;

public class AggTeamPerformanceRowMapper implements RowMapper<AggTeamPerformance> {

	@Override
	public AggTeamPerformance mapRow(ResultSet rs, int line) throws SQLException {
		AggTeamPerformanceExtractor extractor = new AggTeamPerformanceExtractor();
		return extractor.extractData(rs);
	}

}
